﻿using HomeWork911.ErrorCode;
using MediatR;

namespace HomeWork911.Api.Write.Appliaction.Commond
{
    public class UserAddCommond:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNikename { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int Number { get; set; }


        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
    }
}
